home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 1999 May / SGI IRIX 6.5 Applications 1999 May.iso / dist / insight.idb / usr / share / Insight / xhelp / samples / exampleApp / Makefile.z / Makefile
Makefile  |  1998-05-04  |  2KB  |  60 lines

  1. #!smake
  2. # Makefile for making an xhelp book
  3. #
  4. # To build the xhelp book issue the command 'make xhelp'.
  5. # To build the inst images for the book issue the command 'make images'.
  6. #
  7. # The TITLE Variable
  8. #
  9. # TITLE defines the short title of the book and should be a representative
  10. # name for the application the help documents.  The XHELP SGML file will
  11. # be then be called ${TITLE}.sgm.
  12. #
  13. # This title must be a valid directory name and not contain any special
  14. # characters - like '.'  Do not have a trailing space on the TITLE line.
  15. #
  16. # TITLE = SiliconSurf
  17.  
  18. TITLE  = exampleAppXmHelp
  19.  
  20. # The FULL_TITLE Variable
  21. #
  22. # FULL_TITLE defines the full title for the help book as it should appear
  23. # next to the icon on an InSight bookshelf.
  24. #
  25. # FULL_TITLE = Silicon Surf Help Book
  26.  
  27. FULL_TITLE = Example Motif App Help
  28.  
  29. # The VERSION Variable
  30. #
  31. # VERSION defines the version number for this release of the product
  32. # and is displayed when the 'Product Info' item off the 'Help' menu is
  33. # selected.
  34. #
  35. # VERSION = 1.0
  36.  
  37. VERSION = 1.0
  38.  
  39. # The HIDDEN Variable
  40. #
  41. # HIDDEN defines whether this book will be displayed when this book
  42. # is accessed via the InSight library browser rather than the SGIHelp
  43. # browser from the application. The default is to keep the book hidden.
  44. # To change from the default uncomment the following line:
  45. #
  46. # HIDDEN = FALSE
  47.  
  48. include  ${ROOT}/usr/include/make/commonhelpdefs
  49. include  ${COMMONHELPRULES}
  50.  
  51. TARGET = exampleAppXm
  52.  
  53. CFILES = exampleAppXm.c
  54.  
  55. $(TARGET):
  56.     cc -o exampleAppXm exampleAppXm.c -lhelpmsg -lXm -lXt -lX11
  57.  
  58. install:: $(TARGET)
  59.     $(INSTALL) -f /usr/local/bin -idb EXAMPLE_APP $(TARGET)
  60.